.class Lcom/xingbook/group/view/k;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# instance fields
.field final synthetic a:Lcom/xingbook/group/view/PublishRelativeLayout;


# direct methods
.method constructor <init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 3

    const v2, 0x7f0201da

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    add-int/lit8 v1, p1, -0x1

    invoke-static {v0, v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Lcom/xingbook/group/view/PublishRelativeLayout;I)V

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {v0, p1}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->j(Lcom/xingbook/group/view/PublishRelativeLayout;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-eq p1, v0, :cond_0

    if-nez p1, :cond_1

    :cond_0
    if-nez p1, :cond_2

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->k(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/support/v4/view/ViewPager;

    move-result-object v0

    add-int/lit8 v1, p1, 0x1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->j(Lcom/xingbook/group/view/PublishRelativeLayout;)Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->k(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/support/v4/view/ViewPager;

    move-result-object v0

    add-int/lit8 v1, p1, -0x1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/k;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->j(Lcom/xingbook/group/view/PublishRelativeLayout;)Ljava/util/ArrayList;

    move-result-object v0

    add-int/lit8 v1, p1, -0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_0
.end method
